package com.tjhzzx.danfossNiagaraCore.model.ext;



import com.tjhzzx.danfossNiagaraCore.enums.BTreeMenuMode;

import javax.baja.sys.Flags;
import javax.baja.sys.Property;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
import javax.baja.util.BFolder;

public class BTreeMenuRoot extends BFolder {

    public static final Property mode = newProperty(Flags.HIDDEN, BTreeMenuMode.DEFAULT, null);

    public BTreeMenuMode getMode() {
        return (BTreeMenuMode)get(mode);
    }

    public void setMode(BTreeMenuMode v) {
        set(mode, v, null);
    }

    public static final Property treeMenuModeExpose = newProperty(Flags.HIDDEN, BTreeMenuMode.expose(), null);

    public String getTreeMenuModeExpose() {
        return getString(treeMenuModeExpose);
    }

    public void setTreeMenuModeExpose(String v) {
        setString(treeMenuModeExpose, v, null);
    }

    @Override
    public Type getType() {
        return TYPE;
    }

    public static final Type TYPE = Sys.loadType(BTreeMenuRoot.class);
}
